package com.nmf.site.modules.sys.utils;

import java.util.List;

import com.nmf.dao.gen.BaseProvincesMapper;
import com.nmf.dao.gen.bean.BaseProvinces;
import com.nmf.dao.gen.bean.BaseProvincesExample;
import com.nmf.site.common.utils.SpringContextHolder;

public class ProvincesUtils {
	private static BaseProvincesMapper baseProvincesMapper = SpringContextHolder.getBean(BaseProvincesMapper.class);
	
	public static List<BaseProvinces> getProvinceList(){
		BaseProvincesExample baseProvincesExample = new BaseProvincesExample();
		return baseProvincesMapper.selectByExample(baseProvincesExample);
	}
}
